﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Superman : Animal, IFlyable,IFly
    {
        public Superman(string name) : base(name)
        {
            this.name = name;
        }
        public Superman() { }
        public override void Eat()
        {
            Console.WriteLine("{0}：能吃饭饭哦！", this.name);
        }


        public void Land()
        {
            Console.WriteLine("{0}：我会在陆地走路的哦！", this.name);
        }

        public void TakeOff()
        {
            Console.WriteLine("{0}：我准备起飞咯，拜拜咯!", this.name);
        }

        public void IFly()
        {
            Console.WriteLine("{0}：我有超能力，我会飞的哦！", this.name);
        }

        public void Fly()
        {
            Console.WriteLine("{0}：我会飞，就问你信不信！", this.name);
        }
    }
}
